// var user2 = new Object();
// user2.name = "Ford";
// user2.password = "Mustang";
// user2.agreement = "agreement";

// function Person(name, age, sex) {
//     this.name = name;
//     this.age = age;
//     this.sex = sex;
// }

// class Car {
//     constructor(eagle, talonTSi, number, rand) {
//
//     }
//
// }

// 灵感来源于 https://blog.csdn.net/ahou2468/article/details/89852769
export function User() {

    class User {
        constructor(id, username, address, age, password, avatar, imageherf, backgroud, sign, redisflag, email, confirm, nickname, residence, phone, donation, website, intro, gender, captcha, agreement) {
            this.id = id;
            this.username = username;
            this.address = address;
            this.age = age;
            this.password = password;
            this.avatar = avatar;
            this.imageherf = imageherf;
            this.backgroud = backgroud;
            this.sign = sign;
            this.redisflag = redisflag;
            this.email = email;
            this.confirm = confirm;
            this.nickname = nickname;
            this.residence = residence;
            this.phone = phone;
            this.donation = donation;
            this.website = website;
            this.intro = intro;
            this.gender = gender;
            this.captcha = captcha;
            this.agreement = agreement;

        }

    }

    // return (<span></span>)
}


// var car1 = new Car("Eagle", "Talon TSi", 1993, rand);
// var car2 = new Car("Nissan", "300ZX", 1992, ken);